home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 January: Mac OS SDK / Dev.CD Jan 99 SDK1.toast / Development Kits / Apple Shared Library Manager / ASLM Examples / Inspector / Makefile.Inspector.MrC < prev    next >
Encoding:
Makefile  |  1996-11-19  |  5.4 KB  |  173 lines  |  [TEXT/MPS ]

  1. # This makefile was produced at 10:33:52 AM on Wed, Apr 5, 1995 by
  2. # MakeMake 2.0d38q1 (4/14/1992) by Rick Holzgrafe, scott douglass, Jeff Holcomb, MQ.
  3.  
  4. Sources             = :Sources:
  5. Objects                = :Objects:
  6. Built                = :Built:
  7.  
  8. "{Objects}MrC:"    ƒ "{Sources}"
  9.  
  10. .a.o    ƒ    .a
  11.     Echo "∂t∂tAssembling {Default}.a"
  12.         {Asm} {DepDir}{Default}.a -o {Targ} -lo {Targ}.lst {StdADump} {AOptions} {StdAIncludes}
  13.  
  14. .c.o    ƒ    .c
  15.     Echo "∂t∂tCompiling {Default}.c"
  16.         {C} {DepDir}{Default}.c -o {Targ} {StdCDump} {COptions} {StdCIncludes}
  17.  
  18. .cp.o    ƒ    .cp
  19.     Echo "∂t∂tCompiling {Default}.cp"
  20.         {CPlus} {DepDir}{Default}.cp -o {Targ} {StdCPDump} {CPOptions} {StdCPIncludes}
  21.  
  22. .p.o    ƒ    .p
  23.     Echo "∂t∂tCompiling {Default}.p"
  24.         {Pascal} {DepDir}{Default}.p -o {Targ} {StdPDump} {POptions} {StdPIncludes}
  25.  
  26. TARGETS = "{Objects}MrC:Inspector.xcoff" ∂
  27.     "{Objects}MrC:Inspector.pef" ∂
  28.     "{Built}MrC:InspectorPPC"
  29.  
  30. DOT_H = "{Sources}RegisteredObjectsWindow.h" ∂
  31.     "{Sources}Document.h" ∂
  32.     "{Sources}List.h" ∂
  33.     "{Sources}Application.h" ∂
  34.     "{Sources}Inspector.h" ∂
  35.     "{Sources}SimpleCommon.h" ∂
  36.     "{Sources}TrapAvailable.cp"
  37.  
  38. DOT_R = "{Sources}InspectorMain.PPC.r"
  39.  
  40. SRCS = "{Sources}InspectorMain.cp"
  41.  
  42. # For "{Objects}MrC:Inspector.xcoff"
  43. OBJS_00 = "{Objects}MrC:InspectorMain.cp.o"
  44.  
  45. # For "{Objects}MrC:Inspector.xcoff"
  46. LIBS_00 = "{Objects}MrC:InspectorLibrary.cl.o" ∂
  47.     "{SLMLibraries}MrCLibraries:LibraryManagerPPC.o"
  48.  
  49. # For "{Built}MrC:InspectorPPC"
  50. RES_02 = "{Sources}InspectorMain.PPC.r"
  51.  
  52. # For "{Objects}MrC:Inspector.pef"
  53. EXDEPS_01 = "{Objects}MrC:Inspector.xcoff"
  54.  
  55. # For "{Built}MrC:InspectorPPC"
  56. EXDEPS_02 = "{Objects}MrC:Inspector.pef"
  57.  
  58. StdAIncludes =  -i "{AIncludes}"
  59. StdCIncludes =  -i "{CIncludes}" -i "{SLMInterfaces}CIncludes:"
  60. StdCPIncludes = -i "{CIncludes}" -i "{SLMInterfaces}CIncludes:"
  61. StdPIncludes = 
  62. StdADump     = 
  63. StdCDump     = 
  64. StdPDump     = 
  65. StdCPDump    =  
  66. LIB          = PPCLink -sym on {SymbolOption} -xm library -dead off
  67. LINK         = PPCLink {SymbolOption}
  68. REZ          = Rez -d GENERATING68K=0 -d GENERATINGPOWERPC=1
  69. Asm          = PPCAsm
  70. C            = MrC
  71. CPlus        = MrCpp
  72. COUNT        = Count
  73. COUNTOPTS    = 
  74. CTAGS        = Ctags
  75. CTAGSOPTS    = -p -local -update
  76. DELETE       = Delete
  77. DELETEOPTS   = -i
  78. FILES        = Files
  79. FILESOPTS    = -l
  80. LIBOPTS      = 
  81. LINKOPTS     = 
  82. MAKEFILE     = Makefile
  83. PRINT        = Print
  84. PRINTOPTS    = 
  85. SETFILE      = SetFile
  86. SETFILEOPTS  = -t 'MPST' -c 'MPS '
  87.  
  88. AOptions = {MyPreAOptions}  -dialect power -define MRC=1 {MyAOptions}
  89.  
  90. COptions = {MyPreCOptions}  -opt off -y "{TempFolder}" -notonce {SymbolOption} {MyCOptions}
  91.  
  92. ROptions = {MyPreROptions}  {SymbolOption} {MyROptions}
  93.  
  94. CPOptions = {MyPreCPlusOptions}  -opt off -y "{TempFolder}" -notonce {SymbolOption} {MyCPlusOptions}
  95.  
  96. all    ƒ {TARGETS}
  97.  
  98. "{Objects}MrC:Inspector.xcoff"    ƒƒ {OBJS_00} {LIBS_00}
  99.     If {Progress}; Echo "∂t∂tLinking {Targ}"; End
  100.     {LINK} -w -main main ∂
  101.         "{PPCLibraries}"MrCPlusLib.o ∂
  102.         "{PPCLibraries}"StdCLib.xcoff ∂
  103.         "{PPCLibraries}"PPCCRuntime.o ∂
  104.         "{PPCLibraries}"InterfaceLib.xcoff -o {Targ} ∂
  105.         {OBJS_00} {LIBS_00}
  106.  
  107. "{Objects}MrC:Inspector.pef"    ƒ {EXDEPS_01}
  108.     MakePef "{Objects}MrC:"Inspector.xcoff -o "{Objects}MrC:"Inspector.pef ∂
  109.         -l InterfaceLib.xcoff=InterfaceLib -l StdCLib.xcoff=StdCLib         
  110.     Duplicate -y -d "{Objects}MrC:"Inspector.pef "{Built}MrC:"InspectorPPC 
  111.     If "{SymbolOption}" !=  
  112.         MakeSym -w -o "{Built}MrC:"InspectorPPC.xSYM -r "{Objects}MrC:"Inspector.xcoff 
  113.         {SETFILE} -c 'R2Db' -t 'MPSY' "{Built}MrC:"InspectorPPC.xSYM 
  114.     End
  115.  
  116. "{Built}MrC:InspectorPPC"    ƒƒ {RES_02} {EXDEPS_02} ∂
  117.         "{RIncludes}SysTypes.r" "{RIncludes}Types.r" ∂
  118.         "{SLMInterfaces}RIncludes:VersionResource.r" ∂
  119.         "{Sources}SimpleCommon.h" ∂
  120.         "{RIncludes}CodeFragmentTypes.r"
  121.     If {Progress}; Echo "∂t∂tRezzing {Targ}"; End
  122.     {REZ} -t APPL -c MOOT -s "{Objects}MrC:" -i "{RIncludes}" ∂
  123.         -i "{SLMInterfaces}RIncludes:" ∂
  124.         -i "{Objects}MrC:" -o {Targ} {RES_02}
  125.  
  126. "{Built}MrC:InspectorPPC"    ƒƒ {EXDEPS_02} {RES_02} ∂
  127.         "{RIncludes}SysTypes.r" "{RIncludes}Types.r" ∂
  128.         "{SLMInterfaces}RIncludes:VersionResource.r" ∂
  129.         "{Sources}SimpleCommon.h" ∂
  130.         "{RIncludes}CodeFragmentTypes.r"
  131.     {SETFILE} -a iB {Targ}
  132.  
  133. clean    ƒ
  134.     {DELETE} {DELETEOPTS} {OBJS_00}
  135.  
  136. clobber    ƒ clean
  137.     {DELETE} {DELETEOPTS} {TARGETS}
  138.  
  139. count    ƒ
  140.     {COUNT} {COUNTOPTS} {DOT_H} {DOT_R} {SRCS}
  141.  
  142. files    ƒ
  143.     {FILES} {FILESOPTS} {TARGETS} {MAKEFILE} {DOT_H} {DOT_R} {SRCS} {OBJS_00}
  144.  
  145. print    ƒ
  146.     {PRINT} {PRINTOPTS} {MAKEFILE} {DOT_H} {DOT_R} {SRCS}
  147.  
  148. tags    ƒ {DOT_H} {SRCS}
  149.     {CTAGS} {CTAGSOPTS} {C_INCDIRS} {NewerDeps}
  150.  
  151. "{Objects}MrC:InspectorMain.cp.o" ƒ ∂
  152.         "{CIncludes}Quickdraw.h" "{CIncludes}Types.h" ∂
  153.         "{CIncludes}ConditionalMacros.h" "{CIncludes}MixedMode.h" ∂
  154.         "{CIncludes}Traps.h" "{CIncludes}QuickdrawText.h" ∂
  155.         "{CIncludes}IntlResources.h" "{CIncludes}Fonts.h" "{CIncludes}Events.h" ∂
  156.         "{CIncludes}OSUtils.h" "{CIncludes}Windows.h" "{CIncludes}Controls.h" ∂
  157.         "{CIncludes}Menus.h" "{CIncludes}Desk.h" "{CIncludes}Dialogs.h" ∂
  158.         "{CIncludes}TextEdit.h" "{CIncludes}ToolUtils.h" ∂
  159.         "{CIncludes}TextUtils.h" "{CIncludes}Script.h" "{CIncludes}FixMath.h" ∂
  160.         "{CIncludes}Memory.h" "{CIncludes}Resources.h" "{CIncludes}Files.h" ∂
  161.         "{CIncludes}SegLoad.h" ∂
  162.         "{SLMInterfaces}CIncludes:LibraryManagerUtilities.h" ∂
  163.         "{SLMInterfaces}CIncludes:LibraryManager.h" ∂
  164.         "{CIncludes}stddef.h" "{CIncludes}string.h" ∂
  165.         "{Sources}RegisteredObjectsWindow.h" ∂
  166.         "{Sources}Document.h" ∂
  167.         "{SLMInterfaces}CIncludes:LibraryManagerClasses.h" ∂
  168.         "{Sources}List.h" "{CIncludes}Lists.h" ∂
  169.         "{Sources}Application.h" ∂
  170.         "{Sources}Inspector.h" ∂
  171.         "{Sources}SimpleCommon.h" ∂
  172.         "{Sources}TrapAvailable.cp"
  173.